package com.jk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author 纪思齐
 * @version 1.0
 * @BelongsProject: 2203java-financial
 * @BelongsPackage: com.jk.entity
 * @description: TODO   //媒体报道表
 * @date 2022/11/15 20:30
 */
@Data
@TableName(value = "media")
public class MediaEntity {

    @TableId(value = "media_id",type = IdType.AUTO)
    private   Integer   mediaId;      //媒体报道id

    @TableField(value = "media_title")
    private   String    mediaTitle;   //媒体标题

    @TableField(value = "media_info")
    private   String    mediaInfo;    //报道信息

    @TableField(value = "media_date")
    private   String    mediaDate;    //报道时间

    @TableField(value = "media_visit_count")
    private   Integer    mediaVisitCount;    //报道访问量

    @TableField(value = "media_good_count")
    private   Integer    mediaGoodCount;    //报道点赞量

    @TableField(value = "media_img")
    private   String    mediaImg;    //报道图片



}
